package com.ocean.workOrder.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务单管理对象 o_work_order_item
 *
 * @author ocean
 * @date 2023-02-14
 */
public class OWorkOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String ID;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /**  */
    @Excel(name = "")
    private String createName;

    /** 元素 */
    @Excel(name = "元素")
    private String element;

    /** 最大值 */
    @Excel(name = "最大值")
    private String maxValue;

    /** 最小值 */
    @Excel(name = "最小值")
    private String minValue;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /**  */
    @Excel(name = "")
    private String updateName;

    /** 任务单id */
    @Excel(name = "任务单id")
    private String workId;

    /** 组织机构id */
    @Excel(name = "组织机构id")
    private String departId;
    private String flag;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public void setID(String ID)
    {
        this.ID = ID;
    }

    public String getID()
    {
        return ID;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setElement(String element)
    {
        this.element = element;
    }

    public String getElement()
    {
        return element;
    }
    public void setMaxValue(String maxValue)
    {
        this.maxValue = maxValue;
    }

    public String getMaxValue()
    {
        return maxValue;
    }
    public void setMinValue(String minValue)
    {
        this.minValue = minValue;
    }

    public String getMinValue()
    {
        return minValue;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }

    public String getUpdateName()
    {
        return updateName;
    }
    public void setWorkId(String workId)
    {
        this.workId = workId;
    }

    public String getWorkId()
    {
        return workId;
    }
    public void setDepartId(String departId)
    {
        this.departId = departId;
    }

    public String getDepartId()
    {
        return departId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("createName", getCreateName())
            .append("element", getElement())
            .append("maxValue", getMaxValue())
            .append("minValue", getMinValue())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("updateName", getUpdateName())
            .append("workId", getWorkId())
            .append("departId", getDepartId())
            .toString();
    }
}
